/*:root -> 获取根元素html*/
:root {
    /* 文本颜色 */
    --text-color: black;
    /* 文本高亮颜色 */
    --text-high-color: #ff5777;
    /* 背景颜色 */
    --background-color: #fff;
    /* 字体大小 */
    --font-size: 0.2rem;
    /* 行高 */
    --line-height: 1.5;
}
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    user-select: none;
    /* -webkit-overflow-scrolling: touch; */
}

*::-webkit-scrollbar {
    display: none;
}

body {
    width: 100%;
    height: 100%;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    user-select: none;
    /* 禁止用户鼠标在页面上选中文字/图片等 */
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* webkit是苹果浏览器引擎，tap点击，highlight背景高亮，color颜色，颜色用数值调节 */
    background: var(--background-color);
    color: var(--text-color);
    font-size: var(--font-size);
}


a {
    color: var(--text-color);
    text-decoration: none;
}

img {
    width: 100%;
}

.clear_both {
    clear: both;
}

.slide-enter-active {
    animation: openplayer 0.4s linear;
}

.slide-leave-active {
    animation: closeplayer 0.4s ease;
}

@keyframes openplayer {
    0% {
        left: 1rem;
        height: 1.2rem;
        width: 1.2rem;
        opacity: 0;
        border-radius: 50%;
        transform: translateY(100vh);
    }

    60% {
        left: 40%;
        width: 1.2rem;
        height: 1.2rem;
        border-radius: 50%;
        transform: translateY(50vh);
    }

    100% {
        left: 0;
        transform: translateY(0vh);
    }
}

@keyframes closeplayer {
    10% {
        left: 0;
        height: 100%;
        width: 100%;
        border-radius: 50%;
        transform: translateY(0vh);
    }

    40% {
        left: 40%;
        height: 1.2rem;
        width: 1.2rem;
        opacity: 1;
        border-radius: 50%;
        transform: translateY(50vh);
    }

    100% {
        left: 0.5rem;
        width: 0;
        opacity: 0;
        height: 1.2rem;
        width: 1.2rem;
        border-radius: 50%;
        transform: translateY(100vh);
    }
}

@keyframes roucir {
    from {
        rotate: 0deg;
    }

    to {
        rotate: 360deg;
    }
}